package com.foreknow.demo4;

import java.sql.SQLOutput;

public class Person {
    private int id;
    private String name;
    private int age;

    @Override
    public String toString() {
        return "这是我的toStrign重载";
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public static void main(String[] args) {
        Person person = new Person();
        System.out.println(person);
    }
}
